package waimai;

/**
 * 对话类型
 *
 * @author chenqing.chang
 */
public enum AskTypeEnum {
    /**
     * 默认类型
     */
    notLogin("notLogin", "未登录"),
    notAuthPhone("notAuthPhone", "未授权手机号"),
    notSign("notSign", "未签约免密"),
    notConfigAddress("notConfigAddress", "用户没有配置地址"),
    multipleAddress("multipleAddress", "匹配出多个地址"),
    notMatchAddress("notMatchAddress", "没有匹配到地址"),
    recommendMustItem("recommendMustItem", "为用户推荐了必选品"),
    recommendCouDanItem("recommendCouDanItem", "为用户推荐了凑单商品"),
    specAllDetail("specDetail", "播报所有规格信息"),
    specSingleDetail("specSingleDetail", "播报指定的规格信息，结合给出的修改结果播报"),
    countEdit("countEdit", "播报数量修改情况，结合给出的修改结果播报"),
    notAllowedCountEdit("notAllowedCountEdit", "不允许修改数量，修改后不满起送价"),
    specEdit("specDetail", "播报规格修改情况，结合给出的修改结果播报"),
    notAllowedItemRemove("specDetail", "不允许移除商品，移除后不满起送价"),
    itemRemove("itemRemove", "商品移除情况，结合给出的修改结果播报"),
    itemQuery("itemQuery", "播报点了哪些商品"),
    itemConfirm("itemConfirm", "播报推荐的商品否可以或者是否没有推荐出商品等"),
    orderConfirm("orderConfirm", "询问是否下单"),
    queryOrder("queryOrder", "播报订单配送状态"),
    shopCartValidateFailed("shopCartValidateFailed", "购物车校验失败"),
    paying("paying", "支付中"),
    paySuccess("paymentCompleted", "支付成功"),
    orderFailed("orderFailed", "下单失败"),
    payFailed("payFailed", "支付失败");

    private final String type;
    private final String describe;

    AskTypeEnum(String type, String describe) {
        this.type = type;
        this.describe = describe;
    }

    public String getDescribe() {
        return describe;
    }

    public String getType() {
        return type;
    }


}
